﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Snom;

namespace Davsha.App.Actions
{
    class SnomSendKey : IAction
    {
        public void Execute(ActionParameterCollection parameters)
        {
            string snomIpAddress = parameters["SnomIpAddress"];
            string keys = parameters["Keys"];
            SnomPhone snomPhone = new SnomPhone(snomIpAddress);
            snomPhone.ExecuteCommandSequence(keys);
        }
    }
}
